Traceback (most recent call last): File "C:UsersdbuturuAppDataLocalProgramsPythonPython35intro.py", line 4, in <module> from sklearn import preprocessing, cross_validation, svm File "C:UsersdbuturuAppDataLocalProgramsPythonPython35libsite-packagessklearn__init__.py", line 57, in <module> from .base import clone File "C:UsersdbuturuAppDataLocalProgramsPythonPython35libsite-packagessklearnbase.py", line 10, in <module> from scipy import sparse ImportError: No module named 'scipy' #this is what I got after running your code, please help
You must be logged in to post. Please login or register an account.
Have you installed scipy? If not, do a pip install of scipy! Anytime you see "no module named," it means you tried to import something you don't have. Even if you didn't personally do that import, it's common that one of the packages you use does.
-Harrison 8 years ago
You must be logged in to post. Please login or register an account.